import API from './api'

export default {
  getLiveVidePage(params, callback, errorCallback){
    API.post('/live/liveVideo/getLiveVidePage', params, callback, errorCallback)
  },
  setVideo(params, callback, errorCallback){
    API.post('/live/liveVideo/setVideo', params, callback, errorCallback)
  },
  createLiveVideo(params, callback, errorCallback){
    API.post('/live/liveVideo/createLiveVideo', params, callback, errorCallback)
  },
  updateLiveVideo(params, callback, errorCallback){
    API.post('/live/liveVideo/updateLiveVideo', params, callback, errorCallback)
  },
  getLiveVideoDto(params, callback, errorCallback){
    API.get('/live/liveVideo/getLiveVideoDto', params, callback, errorCallback)
  },
  exportOnlineUser(params, callback, errorCallback){ // 导出在线人
    API.post('/live/liveVideo/exportOnlineUser', params, callback, errorCallback)
  },
  getLiveVideoData(params, callback, errorCallback){ // 导出在线人
    API.post('/live/liveVideo/getLiveVideoData', params, callback, errorCallback)
  },
  clearChannel(params, callback, errorCallback){// 清空channel缓存
    API.post('/live/liveVideo/clearChannel', params, callback, errorCallback)
  }

}
